package com.yunxi.sto.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sto.pojo.StoWorkDayVO;

import java.util.ArrayList;
import java.util.List;

public class StoWorkDayDubboServiceMock implements StoWorkDayDubboService {
    @Override
    public StoWorkDayVO getById(String id) throws Exception {
        StoWorkDayVO vo = new StoWorkDayVO();
        vo.setStaffId("暂无数据");
        return vo;
    }

    @Override
    public void saveOrUpdate(StoWorkDayVO stoWorkDayVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<StoWorkDayVO> findPageByVO(StoWorkDayVO stoWorkDayVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<StoWorkDayVO> page =  new   PageInfo<StoWorkDayVO>();
        List  list  =  new ArrayList();
        StoWorkDayVO vo =  new StoWorkDayVO();
        vo.setStaffId("暂无数据");
        list.add(vo);
        page.setList(list);
        return page;
    }

    @Override
    public void removeByListVo(List<StoWorkDayVO> stoWorkDayVOList) throws Exception {

    }

    @Override
    public List listByVo(StoWorkDayVO stoWorkDayVO) {
        List  list  =  new ArrayList();
        StoWorkDayVO vo =  new StoWorkDayVO();
        vo.setStaffId("暂无数据");
        list.add(vo);
        return list;
    }
}
